package com.cens.common.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

public class CommodityConstant {
    @AllArgsConstructor
    @Getter
    public enum AttrEnum{
        /**
         * 基本属性
         */
        BASE_ATTR_TYPE(1,"基本属性"),
        /**
         * 销售属性
         */
        SALE_ATTR_TYPE(0,"销售属性"),
        ;
        private int code;
        private String message;
    }

    @AllArgsConstructor
    @Getter
    public enum SpuStatusEnum{
        /**
         * 新建
         */
        NEW_SPU(0,"新建"),
        /**
         * 上架
         */
        SPU_UP(1,"上架"),
        /**
         * 下架
         */
        SPU_DOWN(2,"下架"),
        ;
        private int code;
        private String message;
    }
}
